package com.java8.lambda;

/**
 * @Author HBZ
 * @Date 2020/8/14 23:20
 * @Description
 */
public class IsNumeric implements ValidationStrategy {
    @Override
    public boolean execute(String s) {
        return s.matches("\\d+");
    }
}
